const fs = require("fs");
module.exports = function requireFile(filePath) {
    var isExists = fs.existsSync(filePath);
    if (isExists) {
        var fileModule = require(filePath);
        return fileModule;
    }
};